<template>
  <div class="wrapper">
    <div class="title">
       <mu-icon value="lightbulb_outline" color="pink400"></mu-icon>
       <span class="title-text">体检建议</span>
    </div>
    <div class="content">
      <div
        class="item"
        v-for="(item, index) in adviseList"
        :key="index"
      >
        <mu-icon value="star_border" color="pink400" size="12"></mu-icon>
        <p v-html="item"></p>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SynAdvise',
  props: {
    adviseList: Array
  }
}
</script>

<style lang="stylus" scoped>
  .wrapper
    position: relative
    padding: .2rem .4rem
  .title
    line-height: .8rem
    .title-text
      display: inline-block
      font-size: .34rem
      margin-left: .15rem
    .material-icons
      vertical-align: -4px
  .content
    display: flex
    flex-direction: column
    overflow: hidden
    margin-top: .1rem
    .item
      position: relative
      padding-left: .4rem
      margin-bottom: .15rem
      .material-icons
        position: absolute
        left: .1rem
        top: .04rem
</style>
